html,body{
  width: 100%;
  height: 100%;
  position: relative;
}
*{
  box-sizing: border-box;
}
.content{
  width: 100%;
  height: 92%;
}
footer{
  background: white;
  border-top: 1px solid #9B9B9B;
  position: absolute;
  width: 100%;
  height: 4.3rem;
  bottom: 0;
  left: 0;
  ul{
    width: 100%;
    height: 4.3rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 0.8rem;
    li{
      color: #9B9B9B;
      width: 33%;
      text-align: center;
      .fa{
        font-size: 1.6rem;
      }
      &:first-child{
        color: #f24046;
      }
    }
  }
}
.main1{
  overflow: auto;
  background: #eeeeee;
  header{
    width: 100%;
    height:3.5rem;
    line-height: 3.5rem;
    font-size: 1.6rem;
    background: white;
    ul{
      width: 100%;
      padding: 0 3.2rem;
      display: flex;
      li{
        width: 50%;
        text-align: center;
        //&:first-child{
        //  border-bottom: 2px solid #f24046;
        //}
      }
    }
  }
  .one{
    height: 100%;
    overflow: auto;
    padding: 0.7rem 0.9rem;
    background: #eeeeee;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    li{
      width: 48.5%;
      height: 18rem;
      display: flex;
      flex-direction: column;
      margin-bottom: 0.7rem;
      background: white;
      border: 1px solid #e5e5e5;
      img{
        width: 100%;
      }
      p{
        margin-top: 0.6rem;
        margin-left: 0.7rem;
        height: 4.7rem;
        font-size: 1.2rem;
      }
      div{
        display: flex;
        justify-content: space-between;
        margin-bottom: 1.3rem;
        margin-left: 0.6rem;
        margin-right: 0.6rem;
        span:first-child{
          color: #f24046;
        }
      }
    }
  }
  .two{
    overflow: auto;
    padding: 0.7rem 0.9rem;
    background: #eeeeee;
    li{
      width: 100%;
      height: 14.3rem;
      background: white;
      margin-top: 0.9rem;
      border: 1px solid #e5e5e5;
      img{
        width: 100%;
      }
      div{
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0.9rem 0.8rem;
        p{
          font-size: 1.3rem;
        }
        span{
          i{
            color:#f24046;
          }
          span{
            color: #989898;
          }
        }
      }
    }
  }
}
.tea{
  height: 100%;
  header{
    width: 100%;
    height: 4.3rem;
    padding: 1.4rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    img:first-child{
      width: 1.5rem;
    }
    img{
      width: 2rem;
      height: 2rem;
    }
    span{
      font-size: 1.4rem;
    }
  }
  .mainbox{
    height: 85%;
    background: #eee;
    .d1{
      height: 100%;
      overflow: auto;
      .d2{
        background: white;
        height: 42rem;
        .ban{
          width: 100%;
          height: 28.1rem;
        }
        p{
          padding: 1rem 0.8rem 0rem 0.8rem;
        }
        p:nth-child(3){
          color: #f2464c;
        }
        p:nth-child(4){
          color: #858585;
        }
        ul{
          padding:1rem 0.8rem 0rem 0.8rem ;
          width: 100%;
          display: flex;
          li{
            color: #858585;
            width: 9rem;
          }
        }
      }
      .d3{
        width: 100%;
        background: white;
        margin-top: 1rem;
        .ul2{
          width: 100%;
          display: flex;
          li{
            width: 50%;
            height: 4rem;
            border: 1px solid #e5e5e5;
            text-align: center;
            line-height: 4rem;
            font-size: 1.2rem;
            &:first-child{
              border-bottom: 1px solid #f24046;
            }
          }
        }
      }
    }
    .pic{
      width: 100%;
    }
    .pj{
      width: 100%;
      li{
        padding: 1rem;
        display: flex;
        height: 6.8rem;
      }
      img{
        width: 3.8rem;
        height: 3.8rem;
      }
      .dbox{
        width: 100%;
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid #ddd;
      }
      .l_d{
        padding: 0.2rem 1.1rem;
        span{
          font-size: 1.2rem;
          color: #666;
        }
        h4{
          font-size: 1.3rem;
        }
      }
      .r_d{
          color: #999;
      }
    }
  }
  .fot{
    width: 100%;
    height: 4.5rem;
    display: flex;
    background: #f6f6f6;
    &>div{
      width: 50%;
      height: 4.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      border-top: 1px solid #cccccc;
      &>div{
        width: 9rem;
        height: 3rem;
        text-align: center;
        line-height: 3rem;
        border-radius: 0.4rem;
      }
    }
    .like{
      border: 1px solid #f24046;
      color: #f24046;
    }
    .buy{
      background: #f24046;
      color: #f6f6f6;
    }
  }
}
.maingl{
  height: 100%;
  header{
    width: 100%;
    height: 4.3rem;
    padding: 1.4rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    img:first-child{
      width: 1.5rem;
    }
    img{
      width: 2rem;
      height: 2rem;
    }
    span{
      font-size: 1.4rem;
    }
  }
  footer{
    width: 100%;
    ul{
      width: 100%;
      display: flex;
      li{
        width: 33%;
        text-align: center;
        line-height: 2.5rem;
        .fa{
          color: #f24046;
        }
        img{
          width: 2rem;
          height: 2rem;
        }
        span{
          margin-left: 0.8rem;
          color: #999;
        }
      }
    }
  }
  .glbox{
    width: 100%;
    height: 85%;
    background: #eeeeee;
    .gl{
      height: 100%;
      overflow: auto;
      &>img{
        width: 100%;
      }
      .sj{
        width: 100%;
        height: 3.8rem;
        font-size: 1.5rem;
        line-height: 3.8rem;
        background: white;
        border-bottom: 1px solid #dadada;
      }
      .cha{
        padding: 0.9rem;
        background: white;
        img{
          width: 100%;
        }
        &>div{
          height: 5rem;
          display: flex;
          justify-content: space-between;
          align-items: center;
          span{
            font-size: 1.4rem;
          }
          div{
            width: 7.5rem;
            height: 3rem;
            background: #f24046;
            color: white;
            border-radius: 0.4rem;
            text-align: center;
            line-height: 3rem;
            font-size: 1.3rem;
          }
        }
      }
      .word{
        padding: 2.3rem 0.9rem;
        p{
          margin-top: 2.5rem;
          color: #666;
        }
      }
    }
  }
}
.main2{
  height: 100%;
  overflow: auto;
  .searchbox{
    width: 100%;
    padding: 0.7rem 0.8rem;
    background: white;
    border-bottom: 1px solid #d7d7d7;
    .search{
      width: 100%;
      height: 4.3rem;
      padding: 0rem 2rem;
      background: #f0f0f0;
      border-radius: 0.4rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      input{
        outline: none;
        border: 0;
        height: 4.3rem;
        background: #f0f0f0;
        font-size: 1.3rem;
        color: #adadad;
        width: 90%;
      }
      i{
        font-size: 1.5rem;
        color: #f24147;
      }
    }
  }
  .main2box{
    li{
      .libox{
        width: 100%;
        display: flex;
        padding: 1.2rem 0.8rem;
        justify-content: space-between;
        .l_li{
          img{
            width: 2.1rem;
            height: 1.7rem;
          }
          span{
            margin-left: 1rem;
            font-size: 1.5rem;
          }
        }
        .fa{
          font-size: 1.8rem;
        }
      }
      .r_libox{
        display: none;
      }
      .show{
        width: 100%;
        height: 8.5rem;
        line-height: 8.5rem;
        background: #eee;
        color: #3f3f3f;
        display: flex;
        justify-content: space-around;
        align-items: center;
        li{
          //width: 5.5rem;
          //float: left;
        }
      }
    }
  }
}
.taoci{
  header{
    width: 100%;
    height: 4.3rem;
    text-align: center;
    position: relative;
    font-size: 1.5rem;
    border-bottom: 1px solid #cccccc;
    padding: 1rem 0.8rem;
    img{
      position: absolute;
      left: 0.8rem;
      top: 1rem;
      width: 1.5rem;
      height: 2rem;
    }
  }
  .taocibox{
    width: 100%;
    height: 5.1rem;
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    border-bottom: 1px solid #cccccc;
    li{
      width: 33%;
      height: 3rem;
      color: #666;
      text-align: center;

      &:first-child{
        border-bottom: 2px solid #f24046;
      }
    }
  }
  .tc{
    height: 100%;
    overflow: hidden;
    .one{
      height: 100%;
      overflow: auto;
      padding: 0.7rem 0.9rem;
      background: #eeeeee;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      li{
        width: 48.5%;
        height: 18rem;
        display: flex;
        flex-direction: column;
        margin-bottom: 0.7rem;
        background: white;
        border: 1px solid #e5e5e5;
        img{
          width: 100%;
        }
        p{
          margin-top: 0.6rem;
          margin-left: 0.7rem;
          height: 4.7rem;
          font-size: 1.2rem;
        }
        div{
          display: flex;
          justify-content: space-between;
          margin-bottom: 1.3rem;
          margin-left: 0.6rem;
          margin-right: 0.6rem;
          span:first-child{
            color: #f24046;
          }
        }
      }
    }
  }
}
.my{
  width: 100%;
  background: #eee;
  .banbox{
    width: 100%;
    height: 13rem;
    position: relative;
    .banner{
      width: 100%;
      height: 13rem;
      position: relative;
    }
    .shezhi{
      position: absolute;
      top:1.5rem;
      right: 1.3rem;
      width: 2.2rem;
      height: 2rem;
    }
    &>div{
      width: 6rem;
      height: 8rem;
      position: absolute;
      margin: auto;
      left: 0;
      top:0;
      bottom: 0;
      right: 0;
      text-align: center;
      padding: 0rem 0.2rem 1.5rem 0rem;
      img{
        width: 5.3rem;
        height: 5.3rem;
      }
      p{
        font-size: 1.3rem;
        color: #4a4a48;
      }
    }
  }
  .message{
    width: 100%;
    height: 4.4rem;
    display: flex;
    background: white;
    justify-content: space-between;
    padding: 0 1.2rem;
    align-items: center;
    font-size: 1.2rem;
    border-bottom: 1px solid #e0e0e0;
    img{
      width: 1.3rem;
      height: 1.7rem;
    }
    &>div{
      position: relative;
      &>div{
        position: absolute;
        width: 1.5rem;
        height: 1.5rem;
        background: #f24046;
        text-align: center;
        line-height: 1.5rem;
        right: -1rem;
        top: -1rem;
        color: white;
        border-radius: 50%;
      }
    }
    .fa{
      font-size: 1.5rem;
    }
  }
  .hoby{
    background: #eee;
    width: 100%;
    .ul1{
      margin-top: 1.1rem;
      display: flex;
      li{
        width: 50%;
        height: 4.2rem;
        text-align: center;
        background: white;
        line-height: 4.2rem;
        border: 1px solid #e3e3e3;
        &:first-child{
          border-bottom: 2px solid #f1383e;
        }
      }
    }
    .myyi{
      width: 100%;
      li{
        height: 6.7rem;
        padding: 0 1.2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: white;
        border-bottom: 1px solid #e5e5e5;
        &>div{
          display: flex;
          align-items: center;
          img{
            padding-right: 1rem;
            width: 6.4rem;
            height: 5.4rem;
          }
          div{
            span{
              font-size: 1.2rem;
            }
            p{
              margin-top: 0.6rem;
              font-size: 1rem;
              color: #959595;
            }
          }
        }
        .fa{
          font-size: 1.5rem;
        }
      }
    }
  }
}
.shezhi{
  width: 100%;
  height: 100%;
  background: #eee;
  header{
    width: 100%;
    height: 4.3rem;
    padding: 1.4rem 0.8rem;
    display: flex;
    align-items: center;
    background: white;
    justify-content: space-between;
    img:first-child{
      width: 1.5rem;
    }
    img{
      width: 2rem;
      height: 2rem;
    }
    span{
      font-size: 1.4rem;
    }
  }
  ul{
    margin-top: 2rem;
    li{
      background: white;
      height: 5.4rem;
      width: 100%;
      display: flex;
      align-items: center;
      border-bottom: 1px solid #d6d6d6;
      &>img{
        width: 2.2rem;
        margin-left: 0.5rem;
      }
      div{
        display: flex;
        justify-content: space-between;
        width: 100%;
        line-height: 5.4rem;
        font-size: 1.3rem;
        margin-left: 1.2rem;
        height: 5.4rem;
      }
    }
  }
  .backbox{
    width: 100%;
    padding: 1rem;
    .back{
      background: white;
      border: 1px solid #d6d6d6;
      height: 3.8rem;
      text-align: center;
      line-height: 3.8rem;
      border-radius: 0.2rem;
      color: #f23d43;
      font-size: 1.2rem;
    }
  }
}
.fenxiangbox{
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  position: absolute;
  top:0;
  left: 0;
}
.fenxiang{
  position: absolute;
  width: 100%;
  height: 22.2rem;
  background: white;
  bottom: 0;
  left: 0;
  padding: 2.6rem 3.2rem;
  ul{
    display: flex;
    flex-wrap: wrap;
    height: 13.7rem;
    align-content: space-between;
    justify-content: space-between;
    li{
      text-align: center;
      width: 33.3%;
      color: #838383;
      img{
        width: 4.1rem;
        height: 4.1rem;
      }
    }
  }
  .qx{
    width: 100%;
    text-align: center;
    margin-top: 2.8rem;
    font-size: 1.2rem;
  }
}
.fxbox{
}
